<%@ page language="java" contentType="text/html;charset=utf-8" pageEncoding="utf-8"%>
<div id="demiMenu">
	<form id="formDemiMenu">
		<input type="hidden"  name="reqFunc" class ="reqFunc" value=""/>
		<%@include file="./demiBoard/demiBoardNeed.jsp" %>
	</form>
</div>
<div id="demiMenuInner">
	<div id="demiMenuListVeiw">
	</div>		
	<a class="button" href="#" onclick="goBoardAmdin();">게시판 관리자</a>
	<a class="button" href="#" onclick="goCardBoardPost();">용병카드 등록</a>
	
	<a class="button" href="#"  onclick="hideMenu();">메뉴닫기</a>
</div>
<script type="text/javascript">

	function showMenuBoardList(){
		$("#formDemiMenu .reqFunc").attr("value","showMenuBoardList");
		ajaxSend('/boardPage',aShowBoardMenuList,'post','formDemiMenu');
	}
	function goBoardAmdin(){
		jQuery("#formDemiMenu .reqFunc").attr("value","goBoardAdmin");
		ajaxSend('/boardPage',aMainBodyRight,'post','formDemiMenu');hideMenu();
	}
	function goBoard(boardId){
		var formDemiMenu=jQuery("#formDemiMenu");
		formDemiMenu.children(".reqFunc").attr("value","showBoard");
		formDemiMenu.children(".reqBoardId").attr("value",boardId);
		formDemiMenu.children(".reqBoardPage").attr("value","1");
		formDemiMenu.children(".reqBoardPagePage").attr("value","1");
		ajaxSend('/boardPage',aMainBodyRight,'post','formDemiMenu');hideMenu();
	}
	function goCardBoardPost(){
		var formDemiMenu=jQuery("#formDemiMenu");
		formDemiMenu.children(".reqFunc").attr("value","gotoPostBoard");
		ajaxSend('/cardPage',aMainBodyRight,'post','formDemiMenu');hideMenu();
	}
	
</script>